import Layout from '../components/layout/index'

const routes = [
    {
        path: '/login',
        name: 'login',
        component: () => import('../views/login/index'),
        hidden: true
    },
    {
        path: '/',
        component: Layout,
        redirect: '/dashboard',
        children: [{
            path: 'dashboard',
            name: 'Dashboard',
            component: () => import('../views/dashboard/index'),
            meta: { title: 'Dashboard', icon: 'dashboard' }
        }]
    }
]

export default routes